<div class="row-fluid sortable">
	<div class="box span12">
		<div class="box-header well" data-original-title>
			<h2><i class="icon-edit"></i> Add Kategori</h2>
			<div class="box-icon">
				<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
				<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
				<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
			</div>
		</div>
		<div class="box-content">
			<form class="form-horizontal" method='post' action='<?php echo base_url();?>index.php/kategori/save/<?php echo $data[0]['pel_id'];?>'>
			  <fieldset>
				<div class="control-group">
				  <label class="control-label" for="date01">Nama Kategori</label>
				  <div class="controls">
					<input type="text" class="input-xlarge" name='pel_name' value='<?php echo $data[0]['pel_name'];?>' />
				  </div>
				</div>
				<div class="control-group">
				  <label class="control-label" for="date01">Kelas</label>
				  <div class="controls">
					<select id="selectError3" name='pel_kelas_id'>
						<option value='1' <?php if($data[0]['pel_kelas_id'] =='1') echo 'selected=selected'?>>Kelas 1</option>
						<option value='2' <?php if($data[0]['pel_kelas_id'] =='2') echo 'selected=selected'?>>Kelas 2</option>
						<option value='3' <?php if($data[0]['pel_kelas_id'] =='3') echo 'selected=selected'?>>Kelas 3</option>
						<option value='4' <?php if($data[0]['pel_kelas_id'] =='4') echo 'selected=selected'?>>Kelas 4</option>
						<option value='5' <?php if($data[0]['pel_kelas_id'] =='5') echo 'selected=selected'?>>Kelas 5</option>
						<option value='6' <?php if($data[0]['pel_kelas_id'] =='6') echo 'selected=selected'?>>Kelas 6</option>
						<option value='7' <?php if($data[0]['pel_kelas_id'] =='7') echo 'selected=selected'?>>Kelas VII</option>
						<option value='8' <?php if($data[0]['pel_kelas_id'] =='8') echo 'selected=selected'?>>Kelas VIII</option>
						<option value='9' <?php if($data[0]['pel_kelas_id'] =='9') echo 'selected=selected'?>>Kelas IX</option>
						<option value='10' <?php if($data[0]['pel_kelas_id'] =='10') echo 'selected=selected'?>>Kelas X</option>
						<option value='11' <?php if($data[0]['pel_kelas_id'] =='11') echo 'selected=selected'?>>Kelas XI</option>
						<option value='12' <?php if($data[0]['pel_kelas_id'] =='12') echo 'selected=selected'?>>Kelas XII</option>
					</select>
				  </div>
				</div>
				<div class="control-group">
				  <label class="control-label" for="date01">Semester</label>
				  <div class="controls">
					<select id="selectError3" name='pel_semester'>
						<option value='1' <?php if($data[0]['pel_semester'] =='1') echo 'selected=selected'?>>Semester 1</option>
						<option value='2' <?php if($data[0]['pel_semester'] =='2') echo 'selected=selected'?>>Semester 2</option>
					</select>
				  </div>
				</div>
				<div class="control-group">
				  <label class="control-label" for="date01">Status</label>
				  <div class="controls">
					<select id="selectError3" name='pel_active'>
						<option value='Y' <?php if($data[0]['pel_active'] =='Y') echo 'selected=selected'?>>Active</option>
						<option value='N' <?php if($data[0]['pel_active'] =='N') echo 'selected=selected'?>>Not Active</option>
					</select>
				  </div>
				</div>
				<div class="form-actions">
				  <button type="submit" class="btn btn-primary">Save changes</button>
				  <a href='<?php echo base_url();?>index.php/kategori/' class="btn">Cancel</a>
				</div>
			  </fieldset>
			</form>   
		</div>
	</div><!--/span-->
</div><!--/row-->